package userInterface;

public class GeometryDescriptor
{
	public GeometryDescriptor(int index)
	{
		_drawObjectIndex = index;
		_textIndex = -1;
		_controlPoint = -1;
	}
	
	public GeometryDescriptor(int index, int textIndex)
	{
		_drawObjectIndex = index;
		_textIndex = textIndex;
		_controlPoint = -1;
	}

	public GeometryDescriptor(int index, int textIndex, int controlPoint)
	{
		_drawObjectIndex = index;
		_textIndex = textIndex;
		_controlPoint = controlPoint;
	}

	int getIndex() { return _drawObjectIndex; }
	
	void setIndex(int index) { _drawObjectIndex = index; }
	
	int getTextIndex() { return _textIndex; }
	
	void setTextIndex(int textIndex) { _textIndex = textIndex; }
	
	int getControlPoint() { return _controlPoint; }
	
	void setControlPoint(int controlPoint) { _controlPoint = controlPoint; }
	
	private int _drawObjectIndex;
	
	private int _textIndex;
	
	private int _controlPoint;
}
